package top.infopub.model.bpa;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

/** 总包备案合同(BPA_COT_BACKUP) **/
public class CotBackup {
	/*pk*/
	private String id;
	/* 单据编号 */
	private String codes;
	/*唯一编号*/
	private String proCode;
	/*项目名称*/
	private String proName;
	/*总承包合同名称*/
	private String cotName;
	/*总承包合同编码*/
	private String cotCode;
	/*签订日期*/
	@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
	@DateTimeFormat(pattern = "yyyy-MM-dd")
	private Date signDate;
	/*总包单位ID*/
	private String sgCoopId;
	/*合同编码*/
	private String contractCode;
	/*合同总价*/
	private BigDecimal sumTotal;
	/*合同工期（年）*/
	private String periodYears;
	/*合同开工日期*/
	@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
	@DateTimeFormat(pattern = "yyyy-MM-dd")
	private Date beginBuildDate;
	/*实际合同开工日期*/
	@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
	@DateTimeFormat(pattern = "yyyy-MM-dd")
	private Date beginBuildDateAct;
	/*实际合同竣工日期*/
	@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
	@DateTimeFormat(pattern = "yyyy-MM-dd")
	private Date endBuildDateAct;
	/*预付款比例（%）*/
	private BigDecimal preChargeRate;
	/*月度付款比例（%）*/
	private BigDecimal monthChargeRate;
	/*年度付款比例（%）*/
	private BigDecimal yearChargeRate;
	/*竣工付款比例（%）*/
	private BigDecimal endChargeRate;
	/*结算后比例（%）*/
	private BigDecimal settChargeRate;
	/*质保金比例（%）*/
	private BigDecimal qaChargeRate;
	/*质量标准*/
	private String soqMemo;
	/*添加人*/
	private String addBy;
	/*添加时间*/
	@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
	@DateTimeFormat(pattern = "yyyy-MM-dd")
	private Date addTime;
	/*最后修改人*/
	private String uptBy;
	/*最后修改时间*/
	@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
	@DateTimeFormat(pattern = "yyyy-MM-dd")
	private Date uptTime;
	/*当前审批状态 1=审批中 9=审批完成 10=审批终止*/
	private String processStatus;
	/*关联的审批流程ID*/
	private String processId;


	///// 需要的字段

	private String[] fileAtt;

	public String[] getFileAtt() {
		return fileAtt;
	}

	public void setFileAtt(String[] fileAtt) {
		this.fileAtt = fileAtt;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getCodes() {
		return codes;
	}

	public void setCodes(String codes) {
		this.codes = codes;
	}

	public String getProCode() {
		return proCode;
	}

	public void setProCode(String proCode) {
		this.proCode = proCode;
	}

	public String getProName() {
		return proName;
	}

	public void setProName(String proName) {
		this.proName = proName;
	}

	public String getCotName() {
		return cotName;
	}

	public void setCotName(String cotName) {
		this.cotName = cotName;
	}

	public String getCotCode() {
		return cotCode;
	}

	public void setCotCode(String cotCode) {
		this.cotCode = cotCode;
	}

	public Date getSignDate() {
		return signDate;
	}

	public void setSignDate(Date signDate) {
		this.signDate = signDate;
	}

	public String getSgCoopId() {
		return sgCoopId;
	}

	public void setSgCoopId(String sgCoopId) {
		this.sgCoopId = sgCoopId;
	}

	public String getContractCode() {
		return contractCode;
	}

	public void setContractCode(String contractCode) {
		this.contractCode = contractCode;
	}

	public BigDecimal getSumTotal() {
		return sumTotal;
	}

	public void setSumTotal(BigDecimal sumTotal) {
		this.sumTotal = sumTotal;
	}

	public String getPeriodYears() {
		return periodYears;
	}

	public void setPeriodYears(String periodYears) {
		this.periodYears = periodYears;
	}

	public Date getBeginBuildDate() {
		return beginBuildDate;
	}

	public void setBeginBuildDate(Date beginBuildDate) {
		this.beginBuildDate = beginBuildDate;
	}

	public Date getBeginBuildDateAct() {
		return beginBuildDateAct;
	}

	public void setBeginBuildDateAct(Date beginBuildDateAct) {
		this.beginBuildDateAct = beginBuildDateAct;
	}

	public Date getEndBuildDateAct() {
		return endBuildDateAct;
	}

	public void setEndBuildDateAct(Date endBuildDateAct) {
		this.endBuildDateAct = endBuildDateAct;
	}

	public BigDecimal getPreChargeRate() {
		return preChargeRate;
	}

	public void setPreChargeRate(BigDecimal preChargeRate) {
		this.preChargeRate = preChargeRate;
	}

	public BigDecimal getMonthChargeRate() {
		return monthChargeRate;
	}

	public void setMonthChargeRate(BigDecimal monthChargeRate) {
		this.monthChargeRate = monthChargeRate;
	}

	public BigDecimal getYearChargeRate() {
		return yearChargeRate;
	}

	public void setYearChargeRate(BigDecimal yearChargeRate) {
		this.yearChargeRate = yearChargeRate;
	}

	public BigDecimal getEndChargeRate() {
		return endChargeRate;
	}

	public void setEndChargeRate(BigDecimal endChargeRate) {
		this.endChargeRate = endChargeRate;
	}

	public BigDecimal getSettChargeRate() {
		return settChargeRate;
	}

	public void setSettChargeRate(BigDecimal settChargeRate) {
		this.settChargeRate = settChargeRate;
	}

	public BigDecimal getQaChargeRate() {
		return qaChargeRate;
	}

	public void setQaChargeRate(BigDecimal qaChargeRate) {
		this.qaChargeRate = qaChargeRate;
	}

	public String getSoqMemo() {
		return soqMemo;
	}

	public void setSoqMemo(String soqMemo) {
		this.soqMemo = soqMemo;
	}

	public String getAddBy() {
		return addBy;
	}

	public void setAddBy(String addBy) {
		this.addBy = addBy;
	}

	public Date getAddTime() {
		return addTime;
	}

	public void setAddTime(Date addTime) {
		this.addTime = addTime;
	}

	public String getUptBy() {
		return uptBy;
	}

	public void setUptBy(String uptBy) {
		this.uptBy = uptBy;
	}

	public Date getUptTime() {
		return uptTime;
	}

	public void setUptTime(Date uptTime) {
		this.uptTime = uptTime;
	}

	public String getProcessStatus() {
		return processStatus;
	}

	public void setProcessStatus(String processStatus) {
		this.processStatus = processStatus;
	}

	public String getProcessId() {
		return processId;
	}

	public void setProcessId(String processId) {
		this.processId = processId;
	}
}
